Dieser Commit ist enthalten in:
MAGICCC 2021-04-28 19:33:27 +00:00
Ursprung ef25258f5b
Commit 9e4ab7ff62
3 geänderte Dateien mit 45 neuen und 1 gelöschten Zeilen

Datei anzeigen

@ -708,6 +708,26 @@
Remove Two-Factor Authentication
</a>
<nav class="md-nav" aria-label="Remove Two-Factor Authentication">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#for-mailcow-webui" class="md-nav__link">
For mailcow WebUI:
</a>
</li>
<li class="md-nav__item">
<a href="#for-sogo" class="md-nav__link">
For SOGo:
</a>
</li>
</ul>
</nav>
</li>
</ul>
@ -1985,6 +2005,26 @@
Remove Two-Factor Authentication
</a>
<nav class="md-nav" aria-label="Remove Two-Factor Authentication">
<ul class="md-nav__list">
<li class="md-nav__item">
<a href="#for-mailcow-webui" class="md-nav__link">
For mailcow WebUI:
</a>
</li>
<li class="md-nav__item">
<a href="#for-sogo" class="md-nav__link">
For SOGo:
</a>
</li>
</ul>
</nav>
</li>
</ul>
@ -2064,10 +2104,14 @@ MariaDB [(none)]&gt; ALTER USER &#39;root&#39;@&#39;localhost&#39; IDENTIFIED BY
MariaDB [(none)]&gt; FLUSH PRIVILEGES;
</code></pre></div>
<h2 id="remove-two-factor-authentication">Remove Two-Factor Authentication<a class="headerlink" href="#remove-two-factor-authentication" title="Permanent link">&para;</a></h2>
<h3 id="for-mailcow-webui">For mailcow WebUI:<a class="headerlink" href="#for-mailcow-webui" title="Permanent link">&para;</a></h3>
<p>This works similar to resetting a MySQL password, now we do it from the host without connecting to the MySQL CLI:</p>
<div class="highlight"><pre><span></span><code>source mailcow.conf
docker-compose exec mysql-mailcow mysql -u${DBUSER} -p${DBPASS} ${DBNAME} -e &quot;DELETE FROM tfa WHERE username=&#39;YOUR_USERNAME&#39;;&quot;
</code></pre></div>
<h3 id="for-sogo">For SOGo:<a class="headerlink" href="#for-sogo" title="Permanent link">&para;</a></h3>
<div class="highlight"><pre><span></span><code>docker-compose exec -u sogo sogo-mailcow sogo-tool user-preferences set defaults user@example.com SOGoGoogleAuthenticatorEnabled &#39;{&quot;SOGoGoogleAuthenticatorEnabled&quot;:0}&#39;
</code></pre></div>

Dateidiff unterdrĂĽckt, weil mindestens eine Zeile zu lang ist

Binäre Datei nicht angezeigt.