[BUGFIX] Add button to lock install tool 57/47557/2
authorFrank Naegler <frank.naegler@typo3.org>
Sun, 10 Apr 2016 19:01:07 +0000 (21:01 +0200)
committerBenjamin Kott <info@bk2k.info>
Sun, 10 Apr 2016 20:11:02 +0000 (22:11 +0200)
This patch adds a button to lock the install tool again, also without login.

Resolves: #56640
Releases: master, 7.6
Change-Id: I6a4368376082288955eb20197ab437e893c93ffc
Reviewed-on: https://review.typo3.org/47557
Reviewed-by: Benjamin Kott <info@bk2k.info>
Tested-by: Benjamin Kott <info@bk2k.info>
typo3/sysext/install/Resources/Private/Partials/Action/Common/LoginForm.html

index f24db01..ae75ce8 100644 (file)
@@ -17,6 +17,8 @@
                                <input id="t3-install-form-password" type="password" name="install[values][password]" class="t3-install-form-input-text form-control" autofocus="autofocus" />
                        </div>
                        <f:render partial="Action/Common/SubmitButton" arguments="{name:'login', text:'Login', className:'btn-success'}"/>
+                       <a href="Install.php?install[action]=logout&install[context]={context}&install[controller]=tool" class="btn btn-danger pull-right"><i class="fa fa-lock"></i> Lock Install Tool again</a>
+
                </form>
        </div>
        <div id="t3-install-box-border-bottom">&nbsp;</div>