mirror of
https://bitbucket.org/jsuto/piler.git
synced 2025-06-13 02:57:04 +02:00
gui fixes
Change-Id: I5592a96f486f64404f044b2199e74284fd2e46fd Signed-off-by: SJ <sj@acts.hu>
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user