diff options
author | Ivan Kohler <ivan@freeside.biz> | 2015-06-14 01:05:39 -0700 |
---|---|---|
committer | Ivan Kohler <ivan@freeside.biz> | 2015-06-14 01:05:39 -0700 |
commit | 2472b5d17c4788e3b7b076def566bcd1170ec7ba (patch) | |
tree | 2ba6f1d8185cde31fad95fe5c0880d1a37a2ef38 /FS | |
parent | 906e5a16cd0dc5e50507794baa3b35c0bc994467 (diff) |
when there are duplciate username@domain records, and neither selfservice_server-primary_only or selfservice_server-login-svcpart designate one for login, throw and error rather than picking one arbitrarily
Diffstat (limited to 'FS')
-rw-r--r-- | FS/FS/ClientAPI/MyAccount.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/FS/FS/ClientAPI/MyAccount.pm b/FS/FS/ClientAPI/MyAccount.pm index ec76e2738..36989db22 100644 --- a/FS/FS/ClientAPI/MyAccount.pm +++ b/FS/FS/ClientAPI/MyAccount.pm @@ -284,7 +284,7 @@ sub login { return { error => 'User not found.' } unless @svc_acct; - #return { error => 'Multiple users.' } if scalar(@svc_acct) > 1; + return { error => 'Multiple users.' } if scalar(@svc_acct) > 1; my $svc_acct = $svc_acct[0]; |