File tree Expand file tree Collapse file tree 3 files changed +11
-3
lines changed
Expand file tree Collapse file tree 3 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 2929 ),
3030
3131 'alerts ' => array (
32- 'account_created ' => 'Your account has been successfully created. Please check your email for the instructions on how to confirm your account. ' ,
32+ 'account_created ' => 'Your account has been successfully created. ' ,
33+ 'instructions_sent ' => 'Please check your email for the instructions on how to confirm your account. ' ,
3334 'too_many_attempts ' => 'Too many attempts. Try again in few minutes. ' ,
3435 'wrong_credentials ' => 'Incorrect username, email or password. ' ,
3536 'not_confirmed ' => 'Your account may not be confirmed. Check your email for the confirmation link ' ,
Original file line number Diff line number Diff line change 2929 ),
3030
3131 'alerts ' => array (
32- 'account_created ' => 'Váš účet bol úspešne vytvorený. Na email vám boli zaslané inštrukcie na aktiváciu účtu. ' ,
32+ 'account_created ' => 'Váš účet bol úspešne vytvorený. ' ,
33+ 'instructions_sent ' => 'Na email vám boli zaslané inštrukcie na aktiváciu účtu. ' ,
3334 'too_many_attempts ' => 'Prekročili ste limit pokusov o registráciu. Skúste to opäť o niekoľko minút. ' ,
3435 'wrong_credentials ' => 'Nesprávne užívateľské meno, email alebo heslo. ' ,
3536 'not_confirmed ' => 'Váš účet nie je aktivovaný. Inštrukcie na aktiváciu vám boli zaslané na email. ' ,
Original file line number Diff line number Diff line change @@ -43,13 +43,19 @@ public function {{ (! $restful) ? 'store' : 'postIndex' }}()
4343
4444 if ( ${{ lcfirst (Config:: get (' auth.model' )) }}-> id )
4545 {
46+ @ if ( Config:: get (' confide::signup_confirm' ) && Config:: get (' confide::signup_email' ))
47+ $notice = Lang:: get (' confide::confide.alerts.account_created' ) . ' ' . Lang:: get (' confide::confide.alerts.instructions_sent' );
48+ @ else
49+ $notice = Lang:: get (' confide::confide.alerts.account_created' );
50+ @ endif
51+
4652 // Redirect with success message, You may replace "Lang::get(..." for your custom message.
4753 @ if (! $restful )
4854 return Redirect:: action (' {{ $name }}@login' )
4955 @ else
5056 return Redirect:: to (' user/login' )
5157 @ endif
52- -> with ( ' notice' , Lang :: get ( ' confide::confide.alerts.account_created ' ) );
58+ -> with ( ' notice' , $notice );
5359 }
5460 else
5561 {
You can’t perform that action at this time.
0 commit comments