mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-23 01:03:21 +00:00
6 lines
213 B
CoffeeScript
6 lines
213 B
CoffeeScript
Darkswarm.controller "RegistrationCtrl", ($scope, $location, AuthenticationService, CurrentUser)->
|
|
if CurrentUser is undefined
|
|
$location.search('after_login', '/register/')
|
|
AuthenticationService.open()
|
|
|