Fix sso_login button bug.

This commit is contained in:
chiu 2020-07-20 16:26:59 +08:00
parent 522bcd1e33
commit 3d7213ab17
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ module SsoLoginBox::LoginTag
} }
</style> </style>
<div class=\"pull-right\"> <div class=\"pull-right\">
<button class=\"login-btn\"> <button class=\"login-btn\" type=\"button\">
<a class=\"sso_login_button\" href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\"> <a class=\"sso_login_button\" href=\"https://api.ntnu.edu.tw/NtnuCloud/auth?response_type=#{ENV['RESPONSE_TYPE']}&client_id=#{ENV['APP_ID']}&redirect_uri=#{ENV['REDIRECT_URI']}\">
NTNU SSO Login NTNU SSO Login
</a> </a>