nodehero-authentication icon indicating copy to clipboard operation
nodehero-authentication copied to clipboard

Cant redirect to profile page after submiting

Open raakshash opened this issue 7 years ago • 6 comments

It is not redirecting to profile page after submit

raakshash avatar Nov 22 '17 08:11 raakshash

I have resolved this issue. You need to delete lines 44-47 in authentication/init.js: if (password !== user.password) { return done(null, false); }

SiarheiRylach avatar Jan 29 '18 10:01 SiarheiRylach

Nope, isn't work...

mitrofanzzz avatar May 04 '18 13:05 mitrofanzzz

This is because you use the credentials from the example, but the correct credentials:

    username: 'test-user',
    password: 'my-password'

melikhov-dev avatar May 06 '18 14:05 melikhov-dev

Nope, i am not so silly, i found user n pass from source... But it's not redirecting me... How i can debug it?

mitrofanzzz avatar May 06 '18 17:05 mitrofanzzz

You can run the application with the --inspect flag and debug it with Chrome DevTools. In my case, everything works correctly.

melikhov-dev avatar May 06 '18 19:05 melikhov-dev

Checked twice, on different PC (Debian, Ubuntu) isn't work for me.

mitrofanzzz avatar May 14 '18 11:05 mitrofanzzz