Commit 0551759924b8d6102ba3f007f054b753a1d1352d
- Diff rendering mode:
- inline
- side by side
|   | |||
| 147 | 147 | case request.format | |
| 148 | 148 | when Mime::HTML | |
| 149 | 149 | store_location | |
| 150 | redirect_to(site.ssl? ? new_session_url(:protocol => 'https') : new_session_path) | ||
| 150 | redirect_to(current_site.ssl? ? new_session_url(:protocol => 'https') : new_session_path) | ||
| 151 | 151 | else | |
| 152 | 152 | request_http_basic_authentication 'Web Password' | |
| 153 | 153 | end |

