505 after adding a user and password in config.php #3345
-
Hi, I had forgotten my Admin password so I've added a new user and password in the config.php file. Thank you |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Silly mistake, I actually forgot to put a comma after the last key-value pair before closing the array of passwords like so: $yourls_user_passwords = [
'user' => 'password',
'user2' => 'password' // <- there should be a comma here as well
]; |
Beta Was this translation helpful? Give feedback.
-
I agree that the error message makes little sense it should be 500 not 505. |
Beta Was this translation helpful? Give feedback.
Silly mistake, I actually forgot to put a comma after the last key-value pair before closing the array of passwords like so: