diff --git a/counter/views.py b/counter/views.py index 43b35a74..d834c480 100644 --- a/counter/views.py +++ b/counter/views.py @@ -412,7 +412,7 @@ class CounterLogin(RedirectView): if user in self.counter.sellers.all() and not user in self.counter.get_barmen_list(): if len(self.counter.get_barmen_list()) <= 0: self.counter.gen_token() - request.session['counter_token'] = self.counter.token + request.session['counter_token'] = self.counter.token self.counter.add_barman(user) else: self.errors += ["sellers"]