diff options
author | friendica <info@friendica.com> | 2014-07-09 21:10:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-09 21:10:56 -0700 |
commit | fa706c8e860d4057f401b3ca0dff04fb8aa47363 (patch) | |
tree | 780ae79755a79d2bc33ca3b042884b4eac30296c /install | |
parent | c59cd91836ce4f487b84fbfb2d155385de63791e (diff) | |
download | volse-hubzilla-fa706c8e860d4057f401b3ca0dff04fb8aa47363.tar.gz volse-hubzilla-fa706c8e860d4057f401b3ca0dff04fb8aa47363.tar.bz2 volse-hubzilla-fa706c8e860d4057f401b3ca0dff04fb8aa47363.zip |
finish implementing email verification. Currently it only applies if REGISTER_OPEN is in effect.
Diffstat (limited to 'install')
-rw-r--r-- | install/update.php | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/install/update.php b/install/update.php index bdf84144c..60e8497dc 100644 --- a/install/update.php +++ b/install/update.php @@ -1,6 +1,6 @@ <?php -define( 'UPDATE_VERSION' , 1115 ); +define( 'UPDATE_VERSION' , 1116 ); /** * @@ -1291,3 +1291,11 @@ ADD INDEX ( `target_id` )"); return UPDATE_FAILED; } +function update_r1115() { + + // Introducing email verification. Mark all existing accounts as verified or they + // won't be able to login. + + $r = q("update account set account_flags = (account_flags ^ 1) where (account_flags & 1) "); + return UPDATE_SUCCESS; +}
\ No newline at end of file |