mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-06 00:49:47 +00:00
Merge pull request #2388 from wallabag/fix-2factor-user-admin
Fixed two-factor checkbox display in user admin panel
This commit is contained in:
commit
499ba4cb2f
2 changed files with 2 additions and 2 deletions
|
@ -68,7 +68,7 @@
|
||||||
<br/>
|
<br/>
|
||||||
|
|
||||||
{{ form_widget(edit_form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
{{ form_widget(edit_form.save, {'attr': {'class': 'btn waves-effect waves-light'}}) }}
|
||||||
{{ form_rest(edit_form) }}
|
{{ form_widget(edit_form._token) }}
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<p>
|
||||||
{{ form_start(delete_form) }}
|
{{ form_start(delete_form) }}
|
||||||
|
|
|
@ -23,7 +23,7 @@ class ManageControllerTest extends WallabagCoreTestCase
|
||||||
|
|
||||||
// Create a new user in the database
|
// Create a new user in the database
|
||||||
$crawler = $client->request('GET', '/users/');
|
$crawler = $client->request('GET', '/users/');
|
||||||
$this->assertEquals(200, $client->getResponse()->getStatusCode(), "Unexpected HTTP status code for GET /users/");
|
$this->assertEquals(200, $client->getResponse()->getStatusCode(), 'Unexpected HTTP status code for GET /users/');
|
||||||
$crawler = $client->click($crawler->selectLink('user.list.create_new_one')->link());
|
$crawler = $client->click($crawler->selectLink('user.list.create_new_one')->link());
|
||||||
|
|
||||||
// Fill in the form and submit it
|
// Fill in the form and submit it
|
||||||
|
|
Loading…
Reference in a new issue