Disabled guest account.
This commit is contained in:
parent
ce52bf90e4
commit
71d4e380b3
@ -17,11 +17,13 @@
|
||||
<label proportion="1" height="100%" text_align="left" I18N="In the login screen" text="Online"/>
|
||||
<checkbox id="online" I18N="In the login screen" text_align="left"/>
|
||||
</div>
|
||||
<!-- Disable guest accounts for now
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<label id="label_guest" proportion="1" height="100%" text_align="left"
|
||||
I18N="In the login screen" text="Guest login"/>
|
||||
<checkbox id="guest" I18N="In the login screen" text_align="left"/>
|
||||
</div>
|
||||
-->
|
||||
<div width="100%" height="fit" layout="horizontal-row" >
|
||||
<label id="label_username" proportion="1" height="100%" text_align="left"
|
||||
I18N="In the login screen" text="Username"/>
|
||||
|
@ -185,8 +185,10 @@ void UserScreen::selectUser(int index)
|
||||
*/
|
||||
void UserScreen::makeEntryFieldsVisible(bool online)
|
||||
{
|
||||
#ifdef GUEST_ACCOUNTS_ENABLED
|
||||
getWidget<LabelWidget>("label_guest")->setVisible(online);
|
||||
getWidget<CheckBoxWidget>("guest")->setVisible(online);
|
||||
#endif
|
||||
getWidget<LabelWidget>("label_username")->setVisible(online);
|
||||
m_username_tb->setVisible(online);
|
||||
getWidget<LabelWidget>("label_password")->setVisible(online);
|
||||
|
Loading…
Reference in New Issue
Block a user