Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Change Developer login to an additional button

  • Loading branch information...
commit cbe8ab270b791ee5740b3f45c01a5fb41df4dc81 1 parent e886f6c
@hmans authored
Showing with 2 additions and 6 deletions.
  1. +2 −6 lib/views/login.haml
View
8 lib/views/login.haml
@@ -6,14 +6,10 @@
%p
%a.button#browser_id{:href => '/auth/browser_id'} Log in with BrowserID
+ - if Schnitzelpress.env.development?
+ %a.green.button{:href => '/auth/developer'} Developer Login
%form{:method => 'post', :action => '/auth/browser_id/callback', :noValidate => 'noValidate'}
%input{:type => 'hidden', :name => 'assertion'}
- - if Schnitzelpress.env.development?
- %hr
- %p
- Since you're running Schnitzelpress in development mode, you can also use
- the <a href="/auth/developer">development login provider</a>.
-
%script{ :type => 'text/javascript', :src => '//browserid.org/include.js' }
Please sign in to comment.
Something went wrong with that request. Please try again.