mirror of
https://gerrit.hackerspace.pl/hscloud
synced 2025-03-18 17:44:53 +00:00
hswaw/checkinator: add notice about random MACs
Nowadays both smartphones and iphones have MAC address randomisation turned on by default. This breaks checkinator because, while the claim works as intended, the address added to the database is the random one and on the next visit the address is different, so the device is categorised as unknown. The simplest way to fix this is by the user to ensure that MAC address is randomised per network, not per-connection (which at least on Android is itself a per-network knob). This change adds a notice to remind the user about this. Signed-off-by: Wojtek Porczyk <woju@hackerspace.pl> Change-Id: Ieee74d09114e6f0479f44429d9828e47c95eb6bd Reviewed-on: https://gerrit.hackerspace.pl/c/hscloud/+/1362 Reviewed-by: q3k <q3k@hackerspace.pl>
This commit is contained in:
parent
211d88a34f
commit
b56b8fca92
1 changed files with 7 additions and 3 deletions
|
@ -4,7 +4,11 @@
|
|||
{% if not hwaddr %}
|
||||
<p class="error">Unknown MAC. Are you sure you're in the hackerspace?</p>
|
||||
{% else %}
|
||||
You are about to claim <strong>{{ hwaddr }}</strong> as <strong>{{ current_user.id }}</strong>. Do you wish to continue?
|
||||
<p>
|
||||
You are about to claim <strong>{{ hwaddr }}</strong> as
|
||||
<strong>{{ current_user.id }}</strong>. Please make sure you have MAC
|
||||
address randomisation configured per-network or turned off entirely.
|
||||
</p>
|
||||
<table>
|
||||
<form action="" method="post">
|
||||
<label><tr>
|
||||
|
@ -12,9 +16,9 @@
|
|||
<td><input type="text" name="name" value="{{ name }}"></td>
|
||||
</tr></label>
|
||||
<tr>
|
||||
<td><input type="submit" value="yes"></td>
|
||||
<td><input type="submit" value="Claim"></td>
|
||||
</form>
|
||||
<td><a href="/"><button>no</button></button></td>
|
||||
<td><a href="/"><button>Cancel</button></td>
|
||||
</tr>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
|
Loading…
Add table
Reference in a new issue