19 lines
466 B
HTML
Executable File
19 lines
466 B
HTML
Executable File
{% extends "rugwebsite/base.html" %}
|
|
|
|
{% load static %}
|
|
|
|
|
|
{% block content %}
|
|
|
|
{% if user.is_authenticated %}
|
|
<h1>Fantastic, you are logged in!</h1>
|
|
<p>Username: {{ user.username }}</p>
|
|
<p>First name: {{ user.firsts_name }}</p>
|
|
<p>Last name: {{ user.last_name}}</p>
|
|
<p>E-mail: {{ user.email}}</p>
|
|
{% else %}
|
|
<h1>Login and become awesome!</h1>
|
|
<p><a href="{% url 'saml:saml2_auth' %}?provider=RuG">Login</a></p>
|
|
{% endif %}
|
|
{% endblock content %}
|