Default username

From WiDirect
Revision as of 09:45, 2 March 2015 by Veasey (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Specifying a default username for a profile will hide the username field so the users will only be asked for a password. This scenario is useful for a network where only a password will be used, and users will not be able to create accounts. To modify the default username option run this command from the command line of the WiDirect:

sudo emacs /root/AWICP/etc/config.php

Make these modifications after the "$defaultUsername = array()" line to specify the default username for the profile "Net1" to be "Net1User":

$defaultUsername = array();
$defaultUsername["Net1"] = "Net1User";