itccsro / volunt-app

Aplicatia de management a membrilor CivicTech
MIT License
1 stars 2 forks source link

Bug permission redirect - logs out users #22

Open ci opened 7 years ago

ci commented 7 years ago

More like a minor bug, cand un user acceseaza orice zona fara permisiuni, este logged out direct. Fiindca authorization_required din app/controllers/concerns/login_concern.rb face redirect la login_path cu notice, functia de login din app/controllers/static_controller.rb apeleaza logout_user first.

Asta daca nu e intended pentru moment? Cred ca o functionalitate default ar fi sa afiseze notice-ul si o posibilitate de go back / go to the homepage in loc sa delogheze userul de fiecare data.

cezarneaga commented 7 years ago

Ai timp sa trimiti un PR? :)

ci commented 7 years ago

Da, incerc sa trimit un PR pana maine-seara. :smile:

cezarneaga commented 7 years ago

merci!

On 27 Jul 2017, 12:20 +0200, DarkyAngel notifications@github.com, wrote:

Da, incerc sa trimit un PR pana maine-seara. 😄 — You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.