Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
entrix
WoWSimpleRegistration
Commits
a1723a3a
Commit
a1723a3a
authored
Jul 28, 2020
by
Amin.MasterkinG
Browse files
Check 2fa enabled on account_set_2fa.
parent
ffd65762
Changes
1
Show whitespace changes
Inline
Side-by-side
application/include/user.php
View file @
a1723a3a
...
...
@@ -610,6 +610,11 @@ class user
public
static
function
account_set_2fa
(
$verify_key
,
$account
)
{
global
$antiXss
;
if
(
empty
(
get_config
(
'2fa_support'
)))
{
return
false
;
}
if
(
empty
(
$verify_key
)
||
empty
(
$account
))
{
return
false
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment