[Rt-commit] r3557 - in RT-Authen-Bitcard: .
html/Callbacks/Bitcard/Elements/Login
kevinr at bestpractical.com
kevinr at bestpractical.com
Fri Jul 29 12:55:12 EDT 2005
Author: kevinr
Date: Fri Jul 29 12:55:12 2005
New Revision: 3557
Added:
RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default
Removed:
RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Header
Modified:
RT-Authen-Bitcard/ (props changed)
Log:
r6737 at SAD-GIRL-IN-SNOW: kevinr | 2005-07-29 12:55:01 -0400
* Made this extension provide supplemental auth, not primary auth.
Added: RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default
==============================================================================
--- (empty file)
+++ RT-Authen-Bitcard/html/Callbacks/Bitcard/Elements/Login/Default Fri Jul 29 12:55:12 2005
@@ -0,0 +1,11 @@
+<%INIT>
+ use Authen::Bitcard;
+ my $bc = Authen::Bitcard->new;
+ $bc->token('6440e194b0ee0af1d4baec0570e496');
+ $bc->info_required('email');
+ $bc->info_optional('username,name');
+ my $login_url = $bc->login_url( r => 'http://sad-girl-in-snow.mit.edu:8080/index.html' );
+</%INIT>
+<div class="input-row">
+ <a href="<% $login_url %>">Click here to login with Bitcard</a>
+</div>
More information about the Rt-commit
mailing list