Skip to content

Commit

Permalink
Fixed: Instance URL is case insensitive now (#2ft61zw)
Browse files Browse the repository at this point in the history
  • Loading branch information
rathoreprashant committed Jul 15, 2022
1 parent b41ce0f commit b2a1132
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/views/Login.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ export default defineComponent({
},
methods: {
login: function () {
if(!this.baseURL) this.store.dispatch("user/setUserInstanceUrl", this.instanceUrl.trim())
if(!this.baseURL) this.store.dispatch("user/setUserInstanceUrl", this.instanceUrl.trim().toLowerCase())
const { username, password } = this;
this.store.dispatch("user/login", { username: username.trim(), password }).then((data: any) => {
Expand Down

0 comments on commit b2a1132

Please sign in to comment.