Permalink
Browse files

Better handling of user pages for humans

  • Loading branch information...
1 parent 67098e6 commit 6e4d98c1d74b5d655525fecfe3f708eb2f158de8 @austein austein committed with Mar 27, 2007
Showing with 12 additions and 1 deletion.
  1. +12 −1 lib/AuthMitEdu/View.pm
View
@@ -59,7 +59,18 @@ template endpoint => sub {
href is Jifty->web->url(path => "/_/auth")}}
}
body {
- h1 { "OpenID auth page for $user" }
+ h1 { "OpenID auth page for $user" };
+
+ p {
+ outs("This URL is for OpenID authentication and is not meant for human reading. Please see ");
+ hyperlink(url => "/", label => "our FAQ");
+ outs(" for more information.");
+ };
+ p {
+ outs("You might be able to find some information about $user in the ");
+ hyperlink(url => "http://web.mit.edu/bin/cgicso?options=username&query=$user", label => "MIT Directory");
+ };
+
}
}
};

0 comments on commit 6e4d98c

Please sign in to comment.