Move /profile_photo to Module\Settings\Profile\Photo

This commit is contained in:
Hypolite Petovan 2019-10-27 09:56:27 -04:00
commit 0d1befdf2d
13 changed files with 426 additions and 421 deletions

View file

@ -373,7 +373,7 @@ class Authentication
if ($user_record['login_date'] <= DBA::NULL_DATETIME) {
info($this->l10n->t('Welcome %s', $user_record['username']));
info($this->l10n->t('Please upload a profile photo.'));
$this->baseUrl->redirect('profile_photo/new');
$this->baseUrl->redirect('settings/profile/photo/new');
} else {
info($this->l10n->t("Welcome back %s", $user_record['username']));
}