Skip to content
Snippets Groups Projects

Modify internal password generation to base it off the user's password

Merged Richard T. Carback III requested to merge hotfix/internalPassword into project/HavenBeta
1 file
+ 7
2
Compare changes
  • Side-by-side
  • Inline
+ 7
2
@@ -16,6 +16,8 @@ import (
"sync"
"syscall/js"
jww "github.com/spf13/jwalterweatherman"
"gitlab.com/elixxir/client/v4/bindings"
"gitlab.com/elixxir/client/v4/channels"
"gitlab.com/elixxir/wasm-utils/exception"
@@ -951,8 +953,11 @@ func (cm *ChannelsManager) GetShareURL(_ js.Value, args []js.Value) any {
func GetShareUrlType(_ js.Value, args []js.Value) any {
level, err := bindings.GetShareUrlType(args[0].String())
if err != nil {
exception.ThrowTrace(err)
return nil
jww.ERROR.Printf("ShareURL is broken: %s: %+v",
args[0].String(), err)
// exception.ThrowTrace(err)
return 1
}
return level
Loading