mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
doco
This commit is contained in:
parent
9a96ae041f
commit
83ad5328c8
2 changed files with 8 additions and 2 deletions
|
@ -36,8 +36,14 @@ function nuke_session() {
|
|||
function account_verify_password($email,$pass) {
|
||||
|
||||
$email_verify = get_config('system','verify_email');
|
||||
$register_policy = get_config('system','register_policy');
|
||||
|
||||
if($email_verify && $record['account_flags'] & ACCOUNT_UNVERIFIED)
|
||||
// Currently we only verify email address if there is an open registration policy.
|
||||
// This isn't because of any policy - it's because the workflow gets too complicated if
|
||||
// you have to verify the email and then go through the account approval workflow before
|
||||
// letting them login.
|
||||
|
||||
if(($email_verify) && ($register_policy == REGISTER_OPEN) && ($record['account_flags'] & ACCOUNT_UNVERIFIED))
|
||||
return null;
|
||||
|
||||
$r = q("select * from account where account_email = '%s'",
|
||||
|
|
|
@ -1 +1 @@
|
|||
2014-07-09.731
|
||||
2014-07-10.732
|
||||
|
|
Loading…
Reference in a new issue