Merge pull request #2161 from iAmShorty/timezone-settings

[FIX] disabled timezone with two factor auth
This commit is contained in:
Sebastian Grewe 2014-05-01 13:21:21 +02:00
commit 295fb869fc

View File

@ -33,7 +33,7 @@
<div class="form-group"> <div class="form-group">
<label>Timezone</label> <label>Timezone</label>
{nocache} {nocache}
<select class="form-control" name="timezone"> <select class="form-control select-mini" name="timezone" {if $GLOBAL.twofactor.enabled && $GLOBAL.twofactor.options.details && !$DETAILSUNLOCKED}id="disabledInput" disabled{/if}>
{html_options options=$TIMEZONES selected=$GLOBAL.userdata.timezone} {html_options options=$TIMEZONES selected=$GLOBAL.userdata.timezone}
</select> </select>
{/nocache} {/nocache}