mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
fixes #2281 use template for reset/activation mail
and change is_first_connection to has_already_logged_in for better naming
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ if (isset($_GET['key']) and !isset($_POST['submit']))
|
||||
$userdata = getuserdata($user_id, false);
|
||||
$page['username'] = $userdata['username'];
|
||||
$template->assign('key', $_GET['key']);
|
||||
$first_login = is_first_connection($user_id);
|
||||
$first_login = has_already_logged_in($user_id);
|
||||
|
||||
if (!isset($page['action']))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user