mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
takelogin bark when self-enable feature is disable
This commit is contained in:
@@ -36,8 +36,9 @@ if (!$row)
|
|||||||
failedlogins();
|
failedlogins();
|
||||||
if ($row['status'] == 'pending')
|
if ($row['status'] == 'pending')
|
||||||
failedlogins($lang_takelogin['std_user_account_unconfirmed']);
|
failedlogins($lang_takelogin['std_user_account_unconfirmed']);
|
||||||
//if ($row["enabled"] == "no")
|
if ($row["enabled"] == "no" && \App\Models\Setting::getSelfEnableBonus() <= 0) {
|
||||||
// bark($lang_takelogin['std_account_disabled']);
|
bark($lang_takelogin['std_account_disabled']);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($row['two_step_secret'])) {
|
if (!empty($row['two_step_secret'])) {
|
||||||
if (empty($_POST['two_step_code'])) {
|
if (empty($_POST['two_step_code'])) {
|
||||||
|
|||||||
Reference in New Issue
Block a user