Skip to content

505 after adding a user and password in config.php #3345

Answered by steph-dmts
steph-dmts asked this question in Q&A
Discussion options

You must be logged in to vote

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
];

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@dgw
Comment options

dgw May 20, 2022
Maintainer

Answer selected by dgw
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants