rax-maas / dreadnot

deploy without dread
Apache License 2.0
631 stars 61 forks source link

web: app: add login_required config option #1

Closed philips closed 12 years ago

philips commented 12 years ago

when set to false login_required will always auth a user.

I suck at js and got it working but I don't like that when I set this.login_required = login_required then authed() sees it as undefined. I am forgetting something about how js works I think.