Skip to content
Grav 2.0 is officially stable. Read the announcement →
Archive

Admin plugin security?

Started by Muut Archive 11 years ago · 6 replies · 688 views
11 years ago

I'm just asking because I don't think I know enough to really evaluate things, but is there a danger of having the admin plugin (with a plain text password in a config file) on a server somewhere? Seems like it might be a hole...

Thoughts?

11 years ago

The plain text password you can optionally add to the user yaml is replaced at the first login with the hashed password. You can also entirely skip this step by using bin/grav newuser

11 years ago

Ah, so it is... I missed that it was hashed if you use the newuser (or after a login)!

Thanks!

11 years ago

Actually it's not hashed in newuser command, but just like manually creating, it is hashed after first login.

10 years ago

Hello, I got an additional question to this thread. I am trying to find which algorithm is used to hash the password and whether it use a salt or not. Does anyone know or could point me toward the right php file ?
Thx

Suggested topics

Topic Participants Replies Views Activity
Archive · by Deleted User, 9 years ago
0 1359 9 years ago
Archive · by Muut Archive, 9 years ago
2 936 9 years ago
Archive · by Muut Archive, 9 years ago
2 4066 9 years ago
Archive · by Muut Archive, 9 years ago
1 2956 9 years ago
Archive · by Muut Archive, 9 years ago
3 1121 9 years ago