riverrun / phauxth

Not actively maintained - Authentication library for Phoenix, and other Plug-based, web applications
409 stars 20 forks source link

Can't find any backup files when running installer #55

Closed antalvarenga closed 6 years ago

antalvarenga commented 6 years ago

I ran the installer with an existing app (mix phauxth.new --confirm --remember) and whether I prompted "y" or "n" when asking if I wanted to overwrite files, I couldn't find any backup files. Thank you for Phauxth.

dikaio commented 6 years ago

@antalvarenga here's a few of the files that should have been backed up after running that command:

All files that were backed-up will end in bak. Are those not there?

antalvarenga commented 6 years ago

They're not, I searched for any .bak file and there are none. Are they supposed to be right next to the new file?

KimmestOfChis commented 6 years ago

@antalvarenga What version of phoenix are you using?

antalvarenga commented 6 years ago

{:phoenix, "~> 1.3.0"}

KimmestOfChis commented 6 years ago

Okay, I recently had an issue where my phoenix version was lower than 1.3 and it would not create the appropriate backup files. When I ran mix phoenix.new --version, I found that my version differed from the mix.exs file and that caused the issue when installing phauxth.

antalvarenga commented 6 years ago

I don't think it's that, i ran mix phx.new --version (I used the phx installer) and it returns Phoenix v1.3.0 Edit Actually running mix phoenix.new -v yields the same result

antalvarenga commented 6 years ago

Found the issue, I was running an outdated version of the installer. Thanks for the help and sorry for the time I took from you!