Skip to content

Commit

Permalink
Merge pull request #48 from rathoreprashant/#2ft61zw
Browse files Browse the repository at this point in the history
Fixed: Instance URL should be case insensitive(#2ft61zw)
  • Loading branch information
adityasharma7 authored Jul 15, 2022
2 parents b41ce0f + b2a1132 commit 8f1776e
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 8f1776e

Please sign in to comment.