mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
Merge branch 'dev' of https://github.com/wallabag/wallabag into dev
This commit is contained in:
commit
45e60cb52a
4 changed files with 11 additions and 3 deletions
|
@ -524,6 +524,14 @@ class Poche
|
|||
$longlastingsession = isset($_POST['longlastingsession']);
|
||||
$passwordTest = ($isauthenticated) ? $user['password'] : Tools::encodeString($password . $login);
|
||||
Session::login($user['username'], $user['password'], $login, $passwordTest, $longlastingsession, array('poche_user' => new User($user)));
|
||||
|
||||
# reload l10n
|
||||
$language = $user['config']['language'];
|
||||
@putenv('LC_ALL=' . $language);
|
||||
setlocale(LC_ALL, $language);
|
||||
bindtextdomain($language, LOCALE);
|
||||
textdomain($language);
|
||||
|
||||
$this->messages->add('s', _('welcome to your wallabag'));
|
||||
Tools::logm('login successful');
|
||||
Tools::redirect($referer);
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
@define ('LOCALE', ROOT . '/locale');
|
||||
@define ('CACHE', ROOT . '/cache');
|
||||
|
||||
@define ('PAGINATION', '10');
|
||||
@define ('PAGINATION', '12');
|
||||
|
||||
//limit for download of articles during import
|
||||
@define ('IMPORT_LIMIT', 5);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue