Welcome Guest, Not a member yet? Register   Sign In
Shield auth several problem
#3

(02-07-2024, 04:51 PM)datamweb Wrote:
Quote:use shield email i have this code in my yahoo mail

It seems that your email settings are not done correctly. Don't forget to set   

PHP Code:
/**
* Type of mail, either 'text' or 'html'
*/
public string $mailType 'html'

to send as HTML. Also change it to production .env if you are in development mode.

Quote:if i use email instead of smtp the mail does't are send

Your email settings should be as follows:
https://gist.github.com/datamweb/0283c42...d4a97fe2bb

Quote:if i click on link i doesn't redirect on change password

Shield does not provide the possibility to change the password by default. You have to implement this yourself by magiclogin Or session-notification.


i try to insert event : 


Code:
Events::on('magicLogin', function() {

    log_message('debug','inside  event magic login');

    $user = auth()->user();

    redirect()->to('users/changePasswordFromMagicLink');
});

I see the debug message but i am redirect to  users/changePasswordFromMagicLink why?
Reply


Messages In This Thread
Shield auth several problem - by pippuccio76 - 02-05-2024, 01:29 PM
RE: Shield auth several problem - by datamweb - 02-07-2024, 04:51 PM
RE: Shield auth several problem - by pippuccio76 - 11-30-2024, 06:13 AM
RE: Shield auth several problem - by datamweb - 11-30-2024, 07:12 AM



Theme © iAndrew 2016 - Forum software by © MyBB