gui fixes

Change-Id: I5592a96f486f64404f044b2199e74284fd2e46fd
Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
SJ
2016-09-15 22:08:04 +02:00
parent 338571d299
commit 91fbeebc0f
4 changed files with 69 additions and 54 deletions

View File

@ -350,7 +350,11 @@ class ModelUserAuth extends Model {
$session = Registry::get('session');
$emails = array($username);
if(!strchr($username, '@')) { return 0; }
/*
* usernames without the domain part are allowed, though
* they won't see any emails unless a post auth hook is run
* to assign some email addresses to them
*/
$login = $username;