I think I'm close

FOSS login


0

I’ve set up a test environment on my PC, and I think I have the solution, but it isn’t working on this site :(

I found this in the code>> if ($row && $row->password == sha1($pass)) {[/Spoiler]

Can I safely assume that the password [Spoiler] is stored as sha1 on the server?

2replies
2voices
181views
Smyler [WHGhost]
5 years ago

0

If that’s what you see in the code, why would it be wrong? The code is everything you need to know.

Dannydeleto [dannydeleto]
5 years ago | edited 5 years ago

0

Then I don’t understand why its working on my server, but not online. Thanks for the response!
EDIT: Never mind. I just realized that I didn’t have the passwords as sha1 on my server… I guess I’ll have to solve it a different way. sigh

You must be logged in to reply to this discussion. Login
1 of 3

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss