diff --git a/includes/tfa_totp.inc b/includes/tfa_totp.inc
index f337956..bbebea0 100644
--- a/includes/tfa_totp.inc
+++ b/includes/tfa_totp.inc
@@ -289,7 +289,7 @@ class TfaTotpSetup extends TfaTotp implements TfaSetupPluginInterface {
    * @return string Seed.
    */
   protected function createSeed() {
-    return $this->ga->createSecret();
+    return $this->ga->createSecret(32);
   }
 
   /**
